Hot video clip extraction method, user equipment, and server

ABSTRACT

A system including a server, a first terminal and a second terminal, where the server is configured to: send video content to the first terminal and the second terminal, respectively, where the video content includes a first hot clip and a second hot clip; send a first tag of the first hot clip to the first terminal; and send a second tag of the second hot clip to the second terminal; the first terminal is configured to display the first tag on a play time axis of the video content, where the first tag is located in a first location of the play time axis; and the second terminal is configured to display the second tag on the play time axis of the video content, where the second tag is located in a second location of the play time axis.

This application is a National Stage of International Application No.PCT/CN2018/073852, filed on Jan. 23, 2018, which claims priority toChinese Patent Application No. 201710171580.4, filed on Mar. 21, 2017.Both of the aforementioned applications are hereby incorporated byreference in their entireties.

FIELD

Embodiments relate to the field of communications technologies, and, inparticular, to a hot video clip extraction method, user equipment, and aserver.

BACKGROUND

With rapid development of the Internet, more users are watching onlinenetwork videos. By editing a personal preference of a program at adaemon, a conventional video portal site guides a user to watch a video.Before each video is launched online, the video is watched onlineseveral times, and then hot clips of the video are selected manually anda conspicuous title is conceived and marked on a progress bar.

Currently, there are two methods more efficient than manual editing of ahot clip. One method is to extract and identify the hot clips based on aquantity of bullet screens and a bullet screen threshold in a video andthe other method is to obtain the user's preference for clips in acurrent video based on information about operations performed by theuser on a video player, for example, determine whether the user likesthe clip through a fast-forward or rewind operation. In this way, hotclips are extracted and identified.

However, this leads to the same content displayed on a video page whenall users are watching the same video, that is, the identified hot clipis the same. However, user groups of different ages, genders,educational backgrounds, and regions may like to watch different themes,clips, or plots of videos. Therefore, different user groups need toaccess different hot video clips. The foregoing methods are moreefficient than manual editing of hot clips, but hot video clips thatdifferent user groups intend to watch cannot be extracted for thedifferent user groups. Therefore, accuracy of accessing hot clips byusers is low, and hot clips belonging to some user groups cannot beextracted or presented to users.

SUMMARY

Embodiments may implement a hot video clip extraction method, userequipment, and a server to increase accuracy of accessing a hot clip, bya user and assist in extracting or presenting hot clips to the user.

According to an exemplary embodiment, a hot video clip extraction methodmay be provided, including: classifying, by a server, users into anumber of user groups based on attribute information of the users;obtaining, based on information about operations performed by each ofthe number of user groups in watching video content, a hot clip of thevideo content watched by each user group, obtaining a tag of the hotclip corresponding to each user group based on the hot clip of the videocontent watched by each user group, and sending the tag of the hot clipcorresponding to each user group to user equipment of the correspondinguser group. The embodiments can extract and present personalized hotclips corresponding to a number of user groups, and improve accuracy ofaccessing the hot clip by a user. Compared with the prior art in which asame hot clip is presented to all users, the embodiments can extract andpresent obscured hot clips that belong to some user groups.

In a possible embodiment, the classifying, by a server, of users into anumber of user groups based on attribute information of the usersincludes: analyzing, by the server, the attribute information of theusers based on a clustering algorithm, to classify the users into thenumber of user groups; and the analyzing, by the server, the attributeinformation of the users based on a clustering algorithm, to classifythe users into the number of user groups may include: constructing, bythe server, an attribute vector of each user based on the attributeinformation of the users; obtaining a Euclidean distance between theattribute vector of the user and a centroid; and allocating, based onthe Euclidean distance, the user into a cluster with a centroid locatedat a shortest Euclidean distance, where each cluster corresponds to auser group. Therefore, the users may be classified into a number of usergroups based on attributes, so that each user group may be presentedwith a relevant hot clip. There may be a variety of attributes hereinsuch as ages, genders, and occupations of the users.

In a possible embodiment, the obtaining, by the server based oninformation about operations performed by each of the number of usergroups in watching video content, of a hot clip of the video contentwatched by each user group includes: obtaining, by the server for eachuser group, a bullet screen comment threshold or a popularitycontribution threshold for a hot clip of the user group based onoperation information of the user group, and obtaining, by the serverfor each user group, the hot clip of the user group based on the bulletscreen comment threshold and the operation information of the usergroup, or obtaining, by the server, the hot clip of the user group basedon the popularity contribution threshold and the operation informationof the user group. In this embodiment, the operation information of auser is feedback data of the user on watched video content, and thefeedback data may include explicit feedback or implicit feedback of theuser on the video content. The explicit feedback may be, for example, areal-time bullet screen comment made by the user on a video clip of thewatched video content. The implicit feedback may be, for example, anoperation performed by the user on a video player, dragging a progressbar back and forth or clicking a fast forward button or a rewind button,and clicking, browsing or adding to favorites online video content, toreflect the user's preference for the video content and enable theserver to obtain the hot clip corresponding to each user group for anumber of user groups.

In a possible embodiment, the obtaining, by the server for each usergroup, of a bullet screen comment threshold for a hot clip of the usergroup based on operation information of the user group includes:obtaining, by the server for each user group, a ratio of a quantity ofhistorical bullet screen comments of the user group on the video contentto a quantity of video clips of the video content, and then obtaining aproduct of the ratio and a preset coefficient, where the product is thebullet screen comment threshold for the hot clip of the user group, andobtaining, by the server, the hot clip of the user group based on thebullet screen comment threshold and the operation information of theuser group by: determining, by the server for each user group when theserver determines that a quantity of bullet screen comments of the usergroup on any video clip of the video content is greater than the bulletscreen comment threshold, that the video clip is the hot clip of theuser group. When the quantity of bullet screen comments of each usergroup on a video clip is greater than an average quantity of bulletscreens made by the user group on all video clips, the server maydetermine that the video clip is the hot clip of the user group.

In a possible embodiment, the obtaining, by the server, of a tag of thehot clip corresponding to each user group based on the hot clip of thevideo content watched by each user group includes: constructing, by theserver for the hot clip of each user group, a keyword vocabulary of thehot clip, where the keyword vocabulary includes keywords of bulletscreen comments on the hot clip, counting a term frequency of each termin the keyword vocabulary, determining a keyword of a highest termfrequency, and determining that the keyword of the highest termfrequency and a start time and an end time of comments of the user groupon the hot clip are a tag of the hot clip. Therefore, on a userequipment side, when each user group watches the video content, the hotclip in which each user group is interested can be accurately identifiedbased on the keyword and the tag of the hot clip, so that the hot clipis personalized between user groups, and the tag of the same hot clip isnever obtained by all user groups.

In a possible embodiment, if the operation information of the user groupis historical operation information of operations performed by the useron the player, the obtaining, by the server for each user group, apopularity contribution threshold for a hot clip of the user group basedon operation information of the user group includes determined by:obtaining, by the server for each user group, a duration of eachoperation type of each user, where the operation type includes fastforward, rewind, forward drag, and backward drag; obtaining, by theserver for each user in each user group, a popularity contribution valueof each operation type of the user, where the popularity contributionvalue is a ratio of a product of duration of the operation type and aweighted value of the operation type, to duration of a video clipcorresponding to the operation type; and obtaining, by the server foreach user group, the popularity contribution threshold for the hot clipof the user group, where the popularity contribution threshold is aproduct of a ratio of a total popularity contribution value of the usergroup to a quantity of video clips of the video content, and a presetcoefficient; and the obtaining, by the server for each user group, thehot clip of the user group based on the popularity contributionthreshold and the operation information of the user group includes:obtaining, by the server for each user group, a sum of popularitycontribution values of the user group for each video clip of the videocontent, and determining that a video clip whose sum of popularitycontribution values is greater than the popularity contributionthreshold is the hot clip of the user group. Because a level of interestof the user in a video clip can be reflected by fast-forwarding,rewinding, dragging forward, or dragging backward performed by the useron the player when playing the video clip, a different hot clip can bepresented to each user group after the hot clip of each user group isobtained, thereby improving accuracy of accessing the hot clip by theuser and extracting obscured hot clips belonging to some user groups.

In a possible embodiment, the obtaining, by the server, a tag of the hotclip corresponding to each user group based on the hot clip of the videocontent watched by each user group includes: determining, by the serverfor the hot clip of each user group, that an earliest time point and alatest time point of all time points of operations performed by the usergroup on a player when playing the hot clip are a tag of the hot clip.Therefore, based on the tag of the hot clip corresponding to each usergroup, each user group can quickly locate the hot clip in which eachuser group is interested.

In a possible embodiment, before the server classifies users intodifferent user groups based on attribute information of the users whowatch video content, the method further includes: receiving, by theserver, the attribute information of the users sent by the userequipment. The attribute information may be obtained from registrationinformation of the user in the user equipment or obtained fromregistration information of the user in a client, or may be obtained byother means. This is not limited in this embodiment.

According to another aspect, a hot video clip extraction method isprovided, including: sending, by user equipment, attribute informationof a user to a server; and receiving, by the user equipment, a tag thatis of a hot clip of video content and that is sent by the server, anddisplaying the tag of the hot clip in a display part of the videocontent based on the tag. When the user watches the video content,information about operations performed by the user when watching thevideo content and service data are sent to the server. The service datamay be expressed in a form of a time sequence. Each piece of servicedata may include a session identifier (session ID), a user account, astart time of playing a video, an end time of the video, a play type, avideo type, and a video ID. Therefore, based on the attributeinformation of the user, the information about the operations performedby the user when watching the video content, and the service data, theserver can obtain the hot clip of the video content watched by each usergroup, obtain the tag of the hot clip of each user group, and send thetag to the user equipment, so that the user equipment of each user groupcan present a tag of a personalized hot clip, accuracy of accessing thehot clip by the user is improved, and obscured hot clips belonging tosome user groups can be presented.

In a possible embodiment, the tag includes a keyword of the hot clip anda start time and an end time of comments made on the hot clip by a usergroup to which the user belongs, or the tag may include an earliest timepoint and a latest time point of all time points of operations performedby the user group to which the user belongs, on a player when playingthe hot clip.

According to still another embodiment, a server is provided, including:a classification unit, configured to classify users into a number ofuser groups based on attribute information of the users; an obtainingunit, configured to obtain, based on information about operationsperformed by each of the number of user groups classified by theclassification unit in watching video content, a hot clip of the videocontent watched by each user group, where the obtaining unit is furtherconfigured to obtain a tag of the hot clip corresponding to each usergroup based on the hot clip that is obtained by the obtaining unit andthat is of the video content watched by each user group; and a sendingunit, configured to send the tag that is obtained by the obtaining unitand that is of the hot clip corresponding to each user group to userequipment of the corresponding user group.

In a possible embodiment, the classification unit is configured toanalyze the attribute information of the users based on a clusteringalgorithm to classify the users into the number of user groups. Theclassification unit may construct an attribute vector of each user basedon the attribute information of the users, obtain a Euclidean distancebetween the attribute vector of the user and a centroid, and allocate,based on the Euclidean distance, the user into a cluster with a centroidlocated at a shortest Euclidean distance, where each cluster correspondsto a user group.

In a possible embodiment, the obtaining unit is configured to: obtain,for each user group, a bullet screen comment threshold or a popularitycontribution threshold for a hot clip of the user group based onoperation information of the user group, and obtain, for each usergroup, the hot clip of the user group based on the bullet screen commentthreshold and the operation information of the user group, or obtain thehot clip of the user group based on the popularity contributionthreshold and the operation information of the user group.

In a possible embodiment, the obtaining unit is configured to: obtain,for each user group, a ratio of a quantity of historical bullet screencomments of the user group on the video content to a quantity of videoclips of the video content, and then obtain a product of the ratio and apreset coefficient, where the product is the bullet screen commentthreshold for the hot clip of the user group, and determine, for eachuser group when it is determined that a quantity of bullet screencomments of the user group on any video clip of the video content isgreater than the bullet screen comment threshold, that the any videoclip is the hot clip of the user group.

In a possible embodiment, for the hot clip of each user group, a keywordvocabulary of the hot clip is constructed, where the keyword vocabularyincludes keywords of bullet screen comments on the hot clip; and a termfrequency of each term in the keyword vocabulary is counted for the hotclip of each user group, a keyword of a highest term frequency isdetermined, and it is determined that the keyword of the highest termfrequency and a start time and an end time of comments of the user groupon the hot clip are a tag of the hot clip.

In a possible embodiment, the obtaining unit is configured to: obtain,for each user group, duration of each operation type of each user, wherethe operation type includes fast forward, rewind, forward drag, andbackward drag; obtain, for each user in each user group, a popularitycontribution value of each operation type of the user, where thepopularity contribution value is a ratio of a product of duration of theoperation type and a weighted value of the operation type, to durationof a video clip corresponding to the operation type; obtain, for eachuser group, the popularity contribution threshold for the hot clip ofthe user group, where the popularity contribution threshold is a productof a ratio of a total popularity contribution value of the user group toa quantity of video clips of the video content, and a presetcoefficient; and obtain, for each user group, a sum of popularitycontribution values of the user group for each video clip of the videocontent, and determine that a video clip whose sum of popularitycontribution values is greater than the popularity contributionthreshold is the hot clip of the user group.

In a possible embodiment, the obtaining unit is configured to:determine, for the hot clip of each user group, that an earliest timepoint and a latest time point of all time points of operations performedby the user group on a player when playing the hot clip are a tag of thehot clip.

In a possible embodiment, a receiving unit is further included, and isconfigured to receive the attribute information of the users sent by theuser equipment.

According to yet another embodiment, user equipment is provided,including: a sending unit, configured to send attribute information of auser to a server; a receiving unit, configured to receive a tag that issent by the server and that is of a hot clip of video content; and adisplay unit, configured to display the tag of the hot clip in a displaypart of the video content based on the tag.

In a possible embodiment, the tag includes a keyword of the hot clip anda start time and an end time of comments made on the hot clip by a usergroup to which the user belongs, or the tag includes an earliest timepoint and a latest time point of all time points of operations performedby the user group to which the user belongs, on a player when playingthe hot clip.

Another embodiment provides a computer storage medium, configured tostore computer software instructions used by the foregoing Internet ofThings server. The computer storage medium contains a program designedfor executing the foregoing aspects.

Another embodiment provides a computer storage medium, configured tostore computer software instructions used by the foregoing server. Thecomputer storage medium contains a program designed for executing theforegoing aspects.

The embodiments provide a hot video clip extraction method, userequipment, and a server. A server classifies users into a number of usergroups based on attribute information of the users; obtains, based oninformation about operations performed by each of the number of usergroups in watching video content, a hot clip of the video contentwatched by each user group; and obtains a tag of the hot clipcorresponding to each user group based on the hot clip of the videocontent watched by each user group, and sends the tag of the hot clipcorresponding to each user group to user equipment of the correspondinguser group. In this way, the embodiments can extract and present apersonalized hot clip for each of a number of user groups, and improveaccuracy of accessing the hot clip by a user. Compared with the priorart in which a same hot clip is presented to all users, the embodimentscan extract and present obscured hot clips that belong to some usergroups.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic diagram of a system architecture according to anembodiment;

FIG. 2 is a schematic diagram of function modules of a systemarchitecture according to an embodiment;

FIG. 3A and FIG. 3B are a schematic flowchart of a hot video clipextraction method according to an embodiment;

FIG. 4 is a schematic diagram of presenting a different hot clip to eachuser group according to an embodiment;

FIG. 5 is a schematic diagram of presenting a different hot clip to eachuser group according to an embodiment;

FIG. 6A and FIG. 6B are a schematic flowchart of a hot video clipextraction method according to an embodiment;

FIG. 7 is a schematic diagram of presenting a different hot clip to eachuser group according to an embodiment;

FIG. 8 is a schematic diagram of presenting a different hot clip to eachuser group according to an embodiment;

FIG. 9 is a schematic structural diagram of a server according to anembodiment;

FIG. 10 is a schematic structural diagram of a server according to anembodiment;

FIG. 11 is a schematic structural diagram of user equipment according toan embodiment; and

FIG. 12 is a schematic structural diagram of user equipment according toan embodiment.

DESCRIPTION OF EMBODIMENTS

Embodiments described herein are applicable to scenarios in which userequipment of a different user group presents a different hot clip to auser, so as to implement personalized presenting of hot clips todifferent user groups.

A system architecture in various embodiments may include user equipmentand a server, and a quantity of user equipment may be more than one.Different method processes may be executed between serversinteractively. FIG. 1 is a schematic architectural diagram of a systemarchitecture that includes a number of user equipment, a server 1, and aserver 2. The user equipment may be any one of the following types thathave a display screen, and the user equipment may be static or mobile.The user equipment may include, but is not limited to, a personalcomputer, a laptop computer, a tablet computer, a netbook, a mobileterminal, a handheld device, a cordless phone, a smart watch, or a pairof smart glasses. The server 1 and the server 2 may be physical clusterservers, virtual cloud servers, or other server types as is known in theart.

In an exemplary embodiment and as shown in FIG. 2, if a systemarchitecture includes user equipment 0, a server 1, and a server 2, eachuser equipment 0 may include a data collection/sending module 01 and apresenting module 02 The server 1 may include a data receiving/storagemodule 11 and a data sending module 12. The server 2 may include ahistorical data obtaining module 21, a user classification module 22, ahot clip obtaining module 23, a tag extraction module 24, and a datasending module 25. The data collection/sending module 01 and thepresenting module 02 may be implemented in different applications fordifferent clients of the user equipment. The data collection/sendingmodule 01 for the clients may be configured to collect attributeinformation of a user who watches video content, and send the attributeinformation to the server 1. The data receiving/storage module 11 in theserver 1 may be configured to receive from each client and store theattribute information of a number of users who watch the video content.The data sending module 12 sends aggregated attribute information of theusers to the server 2. The historical data obtaining module 21 in theserver 2 is configured to receive the attribute information of thenumber of users. The user classification module 22 is may be configuredto classify the number of users based on the attribute information ofthe number of users, and obtain a number of user groups. The hot clipobtaining module 23 is configured to obtain a hot clip for each usergroup based on information about operations performed by each user groupon the video content when watching the video content. The tag extractionmodule 24 is configured to obtain a tag of the hot clip corresponding toeach user group based on the hot clip of each user group, and send thetag of the hot clip of each user group to the server 1 through the datasending module 25. After the data receiving/storage module 11 in theserver 1 receives the tag of the hot clip of each user group, the userequipment of the user who watches the video content receives the tag ofthe hot clip sent by the server 1 through the data sending module 12.The tag of the hot clip presented by the presenting module in the userequipment of a different user group may be different. In this way, someobscured hot clips belonging to some user groups can be extracted, andaccuracy of accessing the hot clips by different user groups isimproved. If the system architecture has one server, functions of theserver 1 and the server 2 may be integrated into the one server.

The following describes an example in which the information aboutoperations performed by each user group on the video content isinformation about a historical bullet screen comment. An embodimentprovides a hot video clip extraction method. As shown in FIG. 3A andFIG. 3B, the method includes the following steps.

In step 301, user equipment sends attribute information of a user to aserver 1.

The attribute information sent by the user equipment may be understoodas registration information of the user on a client, or otherregistration information of the user, including a user identifier(identification, ID), age, gender, and occupation. The attributeinformation of different users may be the same or different. The user IDmay be an account registered by the user on the client, for example, amobile number, or an email address, or a character string. This step maybe performed by the data collection/sending module 01.

In step 302, the server 1 receives and stores the attribute informationof the user and sends the attribute information of the user to a server2.

When receiving the attribute information of the user of each userequipment, the server 1 aggregates the received attribute information ofdifferent users by using, for example, the data receiving/storage module11, and then the aggregated attribute information of each user is sentto the server 2 by using the data sending module 12. The server 2 mayreceive the attribute information of each user by using the historicaldata obtaining module 21. For example, the attribute information of theusers aggregated by the server 1 is shown in Table 1.

TABLE 1 Attribute information of the user User XX ID Age GenderOccupation (extensible) . . . 001 10 Male Student 002 8 Female Student003 12 Female Student 004 22 Male Student 005 50 Male Civil servant 0069 Female Student 007 25 Male Engineer 008 27 Female Nurse 009 26 MaleEngineer 010 23 Male Student 011 21 Female Student 012 44 Female Teacher013 11 Male Student 014 25 Male Lawyer 015 47 Male Civil servant 016 49Female Teacher

In step 303, the server 2 classifies users into a number of user groupsbased on the attribute information of the user. This step may beperformed by the user classification module 22.

In a possible implementation, the server 2 may simply classify the usersbased on the attributes such as the age and gender of the user. Forexample, the server 2 may classify the users by age into: a child userwatching group, a teenaged or young adult user watching group, and amiddle-aged and elderly user watching group.

In another possible implementation, the server 2 may use a clusteringalgorithm to classify the users based on the attribute information ofthe user. For example, the server 2 may use a K-Means clusteringalgorithm. The following describes an example in which the K-Meansclustering algorithm is used.

1) The Server 2 Constructs an Attribute Vector of Each User Based on theAttribute Information of the Users.

For example, the constructed attribute vector of the user may be: [age,gender, occupation], where the age attribute may directly serve as avalue in a corresponding place in the attribute vector of the user; inthe gender attribute, “male” may have a value of 1 in the correspondingplace in the attribute vector of the user, “female” may have a value of0 in the corresponding place in the attribute vector of the user; andthe value of the occupation attribute in the corresponding place in theattribute vector of the user may be a value of a term frequency vectorof the occupation attribute. Herein, the term frequency vector of theoccupation attribute may be constructed in the following process:{circle around (1)} constructing a vocabulary: constructing a vocabularyby using all terms appearing in the occupation attribute, for example,the vocabulary may be [student, civil servant, engineer, nurse, teacher,lawyer]; and {circle around (2)} constructing a term frequency vectorusing the term frequency of each term of the occupation attribute of theuser in the vocabulary as the value in the corresponding place in theterm frequency vector, where a length of the term frequency vector is alength of the vocabulary.

The attribute vector of the user corresponding to the attributeinformation of the user aggregated in Table 1 may be shown in Table 2.

TABLE 2 Attribute vector of the user User Attribute vector of ID AgeGender Occupation the user 001 10 Male Student [10,1,1,0,0,0,0,0] 002 8Female Student [8,0,1,0,0,0,0,0] 003 12 Female Student[12,0,1,0,0,0,0,0] 004 22 Male Student [22,1,1,0,0,0,0,0] 005 50 MaleCivil servant [50,1,0,1,0,0,0,0] 006 9 Female Student [9,0,1,0,0,0,0,0]007 25 Male Engineer [25,1,0,0,1,0,0,0] 008 27 Female Nurse[27,0,0,0,0,1,0,0] 009 26 Male Engineer [26,1,0,0,1,0,0,0] 010 23 MaleStudent [23,1,1,0,0,0,0,0] 011 21 Female Student [21,0,1,0,0,0,0,0] 01244 Female Teacher [44,0,0,0,0,0,1,0] 013 11 Male Student[11,1,1,0,0,0,0,0] 014 25 Male Lawyer [25,1,0,0,0,0,0,1] 015 47 MaleCivil servant [47,1,0,1,0,0,0,0] 016 49 Female Teacher[49,0,0,0,0,0,1,0]

Taking a user having an ID 001 as an example, his age is 10, his genderis male, and his occupation is student. Therefore, in the attributevector of the user, the value of the age attribute is 10, the value ofthe gender attribute is 1, and “occupation” is in the first place in thevocabulary. That is, the term frequency of “student” is 1, and values ofother term frequencies are 0. Therefore, the value of the term frequencyvector corresponding to the occupation attribute of the user is[1,0,0,0,0,0].

2) The Server 2 Obtains a Euclidean Distance Between the AttributeVector of the User and a Centroid.

The server 2 may first randomly specify user IDs 001, 007, and 015located at three centroids of K-Means respectively, and then calculatethe Euclidean distance between the attribute vector of each user andeach centroid based on a preset Euclidean distance formula. For example,the Euclidean distance between the attribute vector [8,0,1,0,0,0,0,0] ofthe user having a user ID 002 and the attribute vector [8,0,1,0,0,0,0,0]of a centroid (that is, the user having an ID 001) is:

$\sqrt{( {8 - 10} )^{2} + ( {0 - 1} )^{2} + ( {1 - 1} )^{2} + ( {0 - 0} )^{2} + ( {0 - 0} )^{2} + ( {0 - 0} )^{2} + ( {0 - 0} )^{2} + ( {0 - 0} )^{2}} = 2.2$

Based on this calculation method, the Euclidean distance between theattribute vector of each user and each centroid may be shown in Table 3.

TABLE 3 Euclidean distance between the attribute vector of the user andthe centroid User ID 001 002 003 004 005 006 007 008 009 010 011 012 013014 015 016 001 0.0 2.2 2.2 12.0 40.0 1.4 15.1 17.1 16.1 13.0 11.0 34.01.0 15.1 37.0 39.0 007 15.1 17.1 13.1 3.3 25.0 16.1 0.0 2.6 1.0 2.4 4.419.1 14.1 1.4 22.0 24.1 015 37.0 39.0 35.0 25.0 3.0 38.0 22.0 20.1 21.024.0 26.1 3.5 36.0 22.0 0.0 2.6

Based on the calculated Euclidean distance between the attribute vectorof each user and each centroid, each user is allocated into a clusterwith a centroid located at a shortest distance, where each clustercorresponds to a user group. For example, the Euclidean distance betweenthe user having the ID 002 and the centroid [user ID 001] is 2.2, theEuclidean distance between the user having the ID 002 and the centroid[user ID 007] is 17.1, and the Euclidean distance between the userhaving the ID 002 and the centroid [user ID 015] is 39.0. Therefore, theuser having the ID 002 is allocated into the cluster with the centroid[user ID 001]. That is, the user having the ID 002 belongs to the usergroup 1 that includes [user ID 001]. Therefore, the three clustered usergroups (userGroup1, usergroup2, and usergroup3) may be shown in Table 4below.

TABLE 4 Clustered user groups User ID Distance to centroid userGroup1001 0.0 (centroid: 001) 002 2.2 003 2.2 006 1.4 013 1.0 usergroup2 0043.3 (centroid: 007) 007 0.0 008 2.6 009 1.0 010 2.4 011 4.4 014 1.4usergroup3 005 3.0 (centroid: 015) 012 3.5 015 0.0 016 2.6

Subsequently, after the server 2 classifies the users into a number ofuser groups based on the attribute information of the user, the server 1may obtain, based on information about operations performed by each ofthe number of user groups when watching the video content, a hot clip ofthe video content watched by each user group. An exemplaryimplementation may be: for each user group, the server 2 obtains abullet screen comment threshold for the hot clip of the user group basedon the operation information of the user group, and then obtains the hotclip of the user group based on the bullet screen comment threshold andthe operation information of the user group.

Referring to the exemplary method in FIG. 3, FIG. 3 describes an examplein which the information about operations performed by each user groupon the video content is information about a historical bullet screencomment made by the user on the video content.

In step 304, the server 1 sends information about a historical bulletscreen comment made by each user group on video content to the server 2,where the information about the historical bullet screen comment isobtained from the user equipment.

The server 1 may obtain, from a client of the user equipment,information about a historical bullet screen comment made by each useron each piece of video content, where registration information iscollected from the information about the historical bullet screencomment, and the information about the historical bullet screen commentmay be information about a bullet screen comment generated within apreset time period after the video content is launched online; and thensend to the server 2 the information about the bullet screen commentmade by each user group on the video content in the preset time period.The information about the historical bullet screen comment may include avideo ID of the video content commented by each user ID, a video clipID, a play time point at the time of commenting the video, and a bulletscreen comment. Taking information about a bullet screen comment made byeach user group in watching a Spring Festival Gala video as an example,information about bullet screen comments made by users on a SpringFestival Gala may be shown in Table 5.

TABLE 5 Information about bullet screen comments made by users inwatching a Spring Festival Gala video Video User Play time Video clip IDID point (s) Bullet screen comment TFboys XX 001 10.11 TFboys, so cute.XX 001 50.23 Haha, TFboys sings well. XX 002 105.45 Gee, TFboys hasgrown up. XX 004 200.22 Wang Junkai is so handsome! XX 005 250.31 Goodperformance of the kids. Jay Chou XX 006 305.46 Wow, Jay Chou finallyshows up. XX 007 350.54 Oh, good, Jay! XX 008 410.34 Hahaha, I likeJay's talent. XX 007 425.42 Grew up with Jay's songs XX 010 460.26 Jay'sBlue & White Porcelain, of typical Chinese style XX 011 507.49 Jay, howmany times have you shown on the Spring Festival Gala? XX 012 560.51Jay, do a magic trick Song XX 013 609.37 Wow, Song Zuying sang well inZuying the Spring Festival Gala. XX 014 620.32 It is a nationaltreasure. XX 015 780.53 Song Zuying still looks so young! XX 016 850.25Song Zuying is a real singer.

It should be noted that each user in the finally classified user groupin step 303 does not necessarily make a comment on the Spring FestivalGala video; and in step 304, only the information about the historicalbullet screen comment of the user who commented on the Spring FestivalGala video is extracted, and the same user may comment repeatedly on thesame video content.

In step 305, the server 2 obtains, for each user group, a ratio of aquantity of historical bullet screen comments of the user group on thevideo content to a quantity of video clips of the video content, andthen obtains a product of the ratio and a preset coefficient, where theproduct is the bullet screen comment threshold for the hot clip of theuser group.

Based on each user group classified in step 303, the information aboutthe historical bullet screen comment on the video content is grouped,that is, regardless of which video clip is commented on by a user, theinformation about the historical bullet screen comment of the user isclassified into the user group to which the user belongs. For example,the comment made by the user 001 on the video content of the SpringFestival Gala video ID at 10.11 s of the video content is “TFboys, socute”. Therefore, this bullet screen comment may be classified into theuser group userGroup1 to which the user ID 001 belongs, and the groupedinformation about the bullet screen comment may be shown in Table 6.

TABLE 6 Grouped information about a bullet screen comment User Play timeID point (s) Bullet screen comment user 001 10.11 TFboys, so cute.Group1 001 50.23 Haha, TFboys sings well. 002 105.45 Gee, TFboys hasgrown up. 006 305.46 Wow, Jay Chou finally shows up. 013 609.37 Wow,Song Zuying sang well in the Spring Festival Gala. user 004 200.22 WangJunkai is so handsome! group2 007 350.54 Oh, good, Jay! 008 410.34Hahaha, I like Jay's talent. 007 425.42 Grew up with Jay's songs 010460.26 Jay's Blue & White Porcelain, of typical Chinese style 011 507.49Jay, how many times have you shown on the Spring Festival Gala? 014620.32 It is a national treasure. user 005 250.31 Good performance ofthe kids. group3 012 560.51 Jay, do a magic trick 015 780.53 Song Zuyingstill looks so young! 016 850.25 Song Zuying is a real singer.

For each user group, a ratio of a quantity of historical bullet screencomments of the user group on the video content to a quantity of videoclips of the video content may be obtained based on the groupedinformation about the bullet screen comment, and then a product of theratio and a preset coefficient is obtained, where the product is thebullet screen comment threshold for the hot clip of the video contentwatched by the user group, and the preset coefficient may be ahyperparameter and may be set according to required popularity of thehot clip. For example, as shown in exemplary Table 6, the presetcoefficient is 1, the bullet screen comment threshold for the hot clipof the video content watched by user Group 1 is equal to 5/3=1.7, thebullet screen comment threshold for the hot clip of the video contentwatched by user Group 2 is equal to 7/3=2.3, and the bullet screencomment threshold for the hot clip of the video content watched by userGroup 3 is equal to 4/3=1.3, as shown in Table 7.

TABLE 7 Threshold for the hot clip of each user group Bullet screencomment threshold for the hot clip of User Play time each user ID point(s) Bullet screen comment group user 001 10.11 TFboys, so cute. 1.7Group1 001 50.23 Haha, TFboys sings well. 002 105.45 Gee, TFboys hasgrown up. 006 305.46 Wow, Jay Chou finally shows up. 013 609.37 Wow,Song Zuying sang well in the Spring Festival Gala. user 004 200.22 WangJunkai is so handsome! 2.3 group2 007 350.54 Oh, good, Jay! 008 410.34Hahaha, I like Jay's talent. 007 425.42 Grew up with Jay's songs 010460.26 Jay's Blue & White Porcelain, of typical Chinese style 011 507.49Jay, how many times have you shown on the Spring Festival Gala? 014620.32 It is a national treasure. user 005 250.31 Good performance ofthe 1.3 group3 kids. 012 560.51 Jay, do a magic trick 015 780.53 SongZuying still looks so young! 016 850.25 is a real singer.

In step 306, the server 2 determines, for each user group when theserver 2 determines that a quantity of bullet screen comments of theuser group on any video clip of the video content is greater than thebullet screen comment threshold, that the any video clip is the hot clipof the user group.

For any user group, if the quantity of bullet screen comments of theuser group on a single video clip is greater than the bullet screencomment threshold for the hot clip of the user group, it is determinedthat the video clip is the hot clip of the video content watched by theuser group. For example, if the quantity of bullet screen comments ofthe user group 1 on the TFboys video clip is 3, the threshold for thehot clip of the user Group 1 is 1.7, and the quantity “3” of bulletscreen comments is greater than the threshold 1.7. Therefore, the TFboysvideo clip is the hot clip of the user Group 1. The hot clip of eachcorresponding user group in Table 7 above may be shown in Table 8:

TABLE 8 Hot clip of each user group Hot clip Hot clip Bullet thresholdof belonging to Video User Play time screen each user each user clip IDpoint (s) comment group group user TFboys 001 10.11 TFboys, so cute. 1.7Total quantity of Group1 001 50.23 Haha, TFboys comments on sings well.this video clip is 002 105.45 Gee, TFboys has 3, which is grown up.greater than the bullet screen comment threshold 1.7, so that the videoclip is a hot clip Jay 006 305.46 Wow, Jay Chou Chou finally shows up.Song 013 609.37 Wow, Song Zuying Zuying sang well in the Spring FestivalGala. user TFboys 004 200.22 Wang Junkai is so 2.3 group2 handsome! Jay007 350.54 Oh, good, Jay! Total quantity of Chou 008 410.34 Hahaha, Ilike Jay's comments on talent. this video clip is 007 425.42 Grew upwith Jay's 5, which is songs greater than the 010 460.26 Jay's Blue &White bullet screen Porcelain, of comment typical Chinese threshold 2.3,so style that the video 011 507.49 Jay, how many clip is a hot cliptimes have you shown on the Spring Festival Gala? Song 014 620.32 It isa national Zuying treasure. user TFboys 005 250.31 Good performance 1.3group3 of the kids. Jay 012 560.51 Jay, do a magic Chou trick Song 015780.53 Song Zuying still Total quantity of Zuying looks so young!comments on 016 850.25 Song Zuying is a this video clip is real singer.2, which is greater than the bullet screen comment threshold 1.3, sothat the video clip is a hot clip

Steps 304 to 306 may be performed by the hot clip obtaining module 23.

In step 307, the server 2 obtains a tag of the hot clip corresponding toeach user group based on the hot clip of the video content watched byeach user group, and sends the tag of the hot clip of each user group tothe server 1.

For the hot clip of each user group, the server 2 may construct akeyword vocabulary of the hot clip, where the keyword vocabularyincludes keywords of bullet screen comments on the hot clip; and thencount a term frequency of each term in the keyword vocabulary, determinea keyword of a highest term frequency, and determine that the keyword ofthe highest term frequency and a start time and an end time of commentsof the user group on the hot clip are a tag of the hot clip.

The server 2 may extract keywords of each bullet screen comment by usingHanLP, a Java word segmentation package. For example, for the bulletscreen comment “TFboys, so cute”, the keywords extracted by HanLP maybe: “cute” and “TFboys”, and therefore, the keywords extracted from eachbullet screen comment of each user group may be shown in Table 9.Subsequently, based on the keywords of each bullet screen comment, akeyword vocabulary of each user group is constructed. As shown in Table9, all keywords corresponding to user Group 1 are: cute, TFboys, sing,good, and grew up. Therefore, the keyword vocabulary corresponding touser Group 1 may be: [cute, TFboys, sing, good, grew up]. Further, theserver 2 counts the term frequency of each term in the keywordvocabulary of each user group. For example, in the foregoing keywordvocabulary, the keyword “TFboys” corresponding to the user Group 1appears three times, and other keywords appear once. Therefore, a termfrequency vector corresponding to the user Group 1 is: [1,3,1,1,1].Based on this term frequency vector, it is determined that the keywordof a highest term frequency is “TFboys”. In addition, the start time andthe end time of the comments made by the user group on the hot clipTFboys show are 10.11 and 105.45 respectively. Therefore, the tag of thehot clip of the user Group 1 may be “TFboys” and “10.11-105.45”.

TABLE 9 Keyword vocabulary, corresponding term frequency, and keyword ofhighest term frequency Keyword Keyword Bullet vocabulary and of highestVideo User Play time screen Extracted corresponding term clip ID point(s) comment keyword term frequency frequency user TFboys 001 10.11TFboys, Cute, [Cute, TFboys, TFboys Group1 so cute. TFboys sing, good,grew 001 50.23 Haha, TFboys Sing, good, up] sings well. TFboys [1, 3, 1,1, 1] 002 105.45 Gee, TFboys Grew up, has grown up. TFboys user Jay 007350.54 Oh, good, good, Oh, [Good, Oh, Jay, Jay Group2 Chou Jay! Jaylike, talent, grew 008 410.34 Hahaha, I Like, Jay, up, Blue & like Jay'stalent White Porcelain, talent. Chinese, Spring 007 425.42 Grew up Jay,grew Festival Gala] with Jay's up [1, 1, 5, 1, songs 1, 1, 1, 1, 1] 010460.26 Jay's Blue & Blue & White White Porcelain, of Porcelain, typicalChinese, Chinese style Jay 011 507.49 Jay, how many Jay, times have youSpring shown on the Festival Spring Festival Gala Gala? user Song 015780.53 Song Zuying Song Zuying, [Song Zuying, Song group3 Zuying stilllooks look, young look, young, real, Zuying so young! singer] [2, 1, 1,1, 1] 016 850.25 Song Zuying Song Zuying, is a real real, singer singer.

This step may be performed by the tag extraction module 24.

In step 308, the server 2 sends the tag of the hot clip of each usergroup to the server 1. This step may be performed by the data sendingmodule 25.

In step 309, the server 1 stores the tag of the hot clip of each usergroup, and sends the tag of the hot clip corresponding to each usergroup to user equipment of a corresponding user group.

After the server 1 obtains the tag of the hot clip of each user group,when a user whose registration information is stored in the server 1watches the video content, the server 1 may send the tag of the hot clipof the video content to the user equipment of the corresponding usergroup watching the video content. This step may be performed by the datasending module 12.

In step 310, the user equipment displays the tag of the hot clip in adisplay part of the video content based on the tag.

For example, when intending to play the video content, the userequipment may receive the tag of the hot clip of the video content fromthe server 1. The user equipment presents the hot clip in a personalizedmanner based on the received tag.

In a possible implementation, for the hot clip of each user group, theuser equipment may mark a start time of the hot clip on a play time axisbased on the start time and end time of the comments made by the usergroup on the hot clip, and based on the start time and the end time,mark a color distinguishable from that of a non-hot clip in a hot clipsection of the play time axis. For example, as shown in FIG. 4, FIG. 4shows hot clips that are presented according to Table 9 and that are ofthe Spring Festival Gala video watched by each user group.

In another possible implementation, for the hot clip of each user group,the user equipment may present the hot clip to the user group in a videodisplay area, in a list form, and based on the start time and the endtime of the comments made by the user group on the hot clip and thekeywords. More than one hot clip may be presented to the same usergroup. According to the example in Table 9, and referring to theexemplary embodiment in FIG. 5, a list of hot clips presented to theuser Group 1, a list of hot clips presented to the user Group 2, and alist of hot clips presented to the user Group 3 may be shown.

This step may be performed by the presenting module 02.

The embodiments can extract and present personalized hot clipscorresponding to a number of user groups, and improve accuracy ofaccessing the hot clip by a user. Compared with the prior art in which ahot clip is presented to all users, the embodiments described herein mayextract and present obscured hot clips that are relevant to some usergroups.

The following further describes an example in which the informationabout operations performed by each user group on the video content ishistorical operation information of operations performed by the users ona player. An embodiment provides a hot video clip extraction method. Asshown in FIG. 6A and FIG. 6B, the method may include the followingsteps.

In step 601, user equipment sends attribute information of a user to aserver 1.

In step 602, the server 1 receives and stores the attribute informationof the user, and may send the attribute information of the user to aserver 2.

In step 603, the server 2 classifies users into a number of user groupsbased on the attribute information of the user.

For implementations of steps 601 to 603, refer to steps 301 to 303.

In step 604, the server 1 sends historical operation information to theserver 2, where the historical operation information is obtained fromthe user equipment and is about operations performed by each user groupon a player when the player plays the video content.

Information about operations performed by a user on the player may be:fast forward, forward drag, rewind, backward drag, among otheroperations. If the user performs a fast forward or forward dragoperation on a video clip of the video content, it indicates that theuser is not interested in the video clip, and the server 1 may record anoperation name, and a start time point and an end time point of the fastforward operation or forward drag operation, and duration of the videoclip, and obtain duration of the fast forward operation or the forwarddrag operation. For example, if the user has fast-forwarded the videoclip for 10 seconds or has dragged the video clip forward for 10seconds, the server 1 may record the duration as −10 s, indicating thatthe fast forward operation or the forward drag operation has made anegative contribution to the popularity contribution value of the videoclip. If the user performs a rewind or backward drag operation on avideo clip of the video content, it indicates that the user isinterested in the video clip and intends to watch the video cliprepeatedly, and the server 1 may record an operation name, and a starttime point and an end time point of the rewind operation or backwarddrag operation, and duration of the video clip, and obtain duration ofthe rewind operation or the backward drag operation. For example, if theuser has rewound the video clip for 10 seconds or has dragged the videoclip backward for 10 seconds, the server 1 may record the duration as+10 s, indicating that the rewind operation or the backward dragoperation has made a positive contribution to the popularitycontribution value of the video clip.

This embodiment is still described by using an example in which theplayer plays the Spring Festival Gala. For each user group watching thevideo content of the Spring Festival Gala, the server obtains durationof each operation type based on a start time and an end time of eachtype of operation performed by each user in the user group when playingthe video content. For example, Table 10 shows historical operationinformation of operations performed by users on the player in watchingeach video clip of the Spring Festival Gala, where the historicaloperation information is recorded by the server 1 in a preset timeperiod.

TABLE 10 Historical operation information of operations performed byusers on the player in watching Spring Festival Gala Operation duration(s) Start time End time (duration of Video User point (s) Name of point(s) corresponding ID ID of operation operation of operation video clip)TFboys XX 001 10.11 Fast forward 12.11 −2 (250) XX 001 50.23 Rewind30.23 20 (250) XX 002 105.45 Backward drag 55.45 50 (250) XX 004 200.22Forward drag 230.22 −30 (250)  XX 005 250.31 Fast forward 258.31 −8(250) Jay Chou XX 006 305.46 Fast forward 315.46 −10 (300)  XX 007350.54 Backward drag 310.54 40 (300) XX 008 410.34 Rewind 400.34 10(300) XX 007 425.42 Backward drag 390.42 35 (300) XX 010 460.26 Rewind430.26 30 (300) XX 011 507.49 Fast forward 513.49 −6 (300) XX 012 560.51Forward drag 600.51 −40 (300)  Song Zuying XX 013 609.37 Forward drag629.37 −20 (280)  XX 014 620.32 Forward drag 650.32 −30 (280)  XX 015780.53 Backward drag 740.53 40 (280) XX 016 850.25 Rewind 820.25 30(280)

In step 605, for each user group, the server 2 obtains a threshold for ahot clip of the user group based on the historical operation informationof operations performed by the user group on the player.

The server 2 may group, based on different user groups, the historicaloperation information of operations performed on the player. Regardlessof which video clip is operated by a user on the player, the user is maybe classified into a user group to which the user belongs. For example,referring to the exemplary values in Table 10, a user having an ID 001starts a fast forward operation on a TFboys video clip in a SpringFestival Gala video at 10.11 s and ends the operation at 12.11 s, andtherefore the operation information is classified into the user group 1.For example, the grouping of each user group is shown in Table 4, thehistorical operation information of operations performed by the users onthe player in watching the Spring Festival Gala is shown in Table 10.Therefore, the grouped historical operation information of operationsperformed on the player is shown in Table 11.

TABLE 11 Grouping of historical operation information of operationsperformed on the player Operation duration (s) Start time End time(duration of Video User point (s) Name of point (s) corresponding clipID of operation operation of operation video clip) user Group1 TFboys001 10.11 Fast forward 12.11 −2 (250) 001 50.23 Rewind 30.23 20 (250)002 105.45 Backward drag 55.45 50 (250) Jay Chou 006 305.46 Fast forward315.46 −10 (300)  Song Zuying 013 609.37 Forward drag 629.37 −20 (280) user group2 TFboys 004 200.22 Forward drag 230.22 −30 (250)  Jay Chou007 350.54 Backward drag 310.54 40 (300) 008 410.34 Rewind 400.34 10(300) 007 425.42 Backward drag 390.42 35 (300) 010 460.26 Rewind 430.2630 (300) 011 507.49 Fast forward 513.49 −6 (300) Song Zuying 014 620.32Forward drag 650.32 −30 (280)  user group3 TFboys 005 250.31 Fastforward 258.31 −8 (250) Jay Chou 012 560.51 Forward drag 600.51 −40(300)  Song Zuying 015 780.53 Backward drag 740.53 40 (280) 016 850.25Rewind 820.25 30 (280)

Subsequently, a popularity contribution threshold for the hot clip ofthe user group is obtained based on the information about operationsperformed by each user in each user group on the player. Becausedifferent information about operations performed by the user on theplayer in playing the video clip can reflect preference of the user forcontent of the video clip, the different information about operationsperformed by the user on the player in playing the video clip may beused to measure a popularity value of the video clip. In thisembodiment, popularity contribution of each operation type of each usermay be calculated by using a formula to calculate a popularitycontribution value. For each user in each user group, the popularitycontribution value of each operation type may be a ratio of a product ofduration of the operation type and a weighted value of the operationtype, to duration of a video clip corresponding to the operation type.

For example, for a fast forward operation, the formula of the popularitycontribution value may be: Hot_(A)(t_(A),T_(v))=K_(A)*t_(A)/T_(V), whereHot_(A) is the popularity contribution value of the fast forwardoperation, t_(A) is the fast forward duration, that is, duration of thefast forward operation type, T_(v) is duration of the correspondingvideo clip, and K_(A) is a weighted value of the fast forward operationtype and may fall within (0˜1). For a forward drag operation, theformula of the popularity contribution value may be: Hot_(B)(t_(B),T_(v))=K_(B)*t_(B)/T_(v), where Hot_(B) is the popularitycontribution value of the forward drag operation, t_(B) is the forwarddrag duration, or the duration of the forward drag operation type, T_(v)is duration of the corresponding video clip, and K_(B) is a weightedvalue of the forward drag operation type. Considering that the forwarddrag indicates the user's stronger dislike for the video content thanthe fast forward, K_(B)≥K_(A), where K_(B) may fall within (0˜1). For arewind operation, the formula of the popularity contribution value maybe: Hot_(c) (t_(c),T_(v))=K_(c)*t_(c)/T_(v), where Hot_(c) is thepopularity contribution value of the rewind operation, t_(c) is therewind duration, or the duration of the rewind operation type, T_(v) isduration of the corresponding video clip, and K_(c) is a weighted valueof the rewind operation type and falls within (0˜1). For a backward dragoperation, the formula of the popularity contribution value may be:Hot_(D)(t_(D),T_(v))=K_(D)*t_(D)/T_(v), where Hot_(D) is the popularitycontribution value of the backward drag operation, t_(D) is the backwarddrag duration, or duration of the backward drag operation type, T_(v) isduration of the corresponding video clip, and K_(D) is a weighted valueof the backward drag operation type. Considering that the backward dragindicates the user's stronger preference for the video content than therewind operation, K_(D)≥K_(C), where K_(D) may fall within (0˜1).

Based on the foregoing calculation method of the popularity contributionvalues of the operation types, a total popularity contribution value ofeach user group may be obtained. The total popularity contribution valueof each user group may be expressed as

${\sum\limits_{i \in U}{Hot}_{i}},$

a sum of popularity contribution values of operations performed by theuser group on the player, where U denotes a set of operations performedby any user group on the player, and Hot_(i) is one of Hot_(A), Hot_(B),Hot_(c), or Hot_(D). Subsequently, a product of a ratio of the totalpopularity contribution value of the user group to a quantity of videoclips of the video content, and a preset coefficient may indicate thepopularity contribution threshold for the hot clip of the video contentwatched by the user group. The popularity contribution threshold for thehot clip of the user group may equal (Total popularity contributionvalue of the user group/Quantity of video clips)*C, where C is a presetcoefficient.

If values of C, K_(A), K_(B), t_(c), and K_(D) in the foregoing formulasare all 1, in light of conditions in Table 11, the threshold for the hotclip of the user Group 1

 = (Hot_(A)(−2, 250) + Hot_(C)(20, 250) + Hot_(D)(50, 250) + Hot_(A)(−10, 300) + Hot_(B)(−20, 280))/3 = (−2 * K_(A)/250 + 20 * K_(C)/250 + 50 * K_(D)/250 − 10 * K_(A)/300 − 20 * K_(B)/280)/3 = 0.056, the  threshold  for  the  hot  clip  of  the  user  Group  2 = (Hot_(B)(−30, 250) + Hot_(D)(40, 300) + Hot_(C)(10, 300) + Hot_(D)(35, 300) + Hot_(C)(30, 300) + Hot_(A)(−6, 300) + Hot_(B)(−30, 280))/3 = (−30 * K_(B)/250 + 40 * K_(D)/300 + 10 * K_(C)/300 + 35 * K_(D)/300 + 30 * K_(C)/300 − 6 * K_(A)/300 − 30 * K_(B)/280)/3 = 0.045;  andthe  threshold  for  the  hot   clip   of  the  user  Group  3  = (Hot_(A)(−8, 250) + Hot_(B)(−40, 300) + Hot_(D)(40, 280) + Hot_(C)(30, 280))/3 = (−8 * K_(A)/250 − 40 * K_(B)/300 + 40 * K_(D)/280 + 30 * K_(C)/280)/3 = 0.085.

Therefore, the popularity contribution threshold for the hot clip ofeach user group may be shown in Table 12.

TABLE 12 Popularity contribution threshold for the hot clip of each usergroup Popularity Operation contribution duration (s) threshold Starttime End time (duration of for the hot Video User point (s) Name ofpoint (s) corresponding clip of each clip ID of operation operation ofoperation video clip) user group user Group1 TFboys 001 10.11 Fastforward 12.11 −2 (250) 0.056 001 50.23 Rewind 30.23 20 (250) 002 105.45Backward drag 55.45 50 (250) Jay Chou 006 305.46 Fast forward 315.46 −10(300)  Song Zuying 013 609.37 Forward drag 629.37 −20 (280)  user group2TFboys 004 200.22 Forward drag 230.22 −30 (250)  0.045 Jay Chou 007350.54 Backward drag 310.54 40 (300) 008 410.34 Rewind 400.34 10 (300)007 425.42 Backward drag 390.42 35 (300) 010 460.26 Rewind 430.26 30(300) 011 507.49 Fast forward 513.49 −6 (300) Song Zuying 014 620.32Forward drag 650.32 −30 (280)  user group3 TFboys 005 250.31 Fastforward 258.31 −8 (250) 0.085 Jay Chou 012 560.51 Forward drag 600.51−40 (300)  Song Zuying 015 780.53 Backward drag 740.53 40 (280) 016850.25 Rewind 820.25 30 (280)

In step 606, the server 2 obtains the hot clip of the user group basedon a popularity contribution threshold and the historical operationinformation of operations performed by the user group on the player.

If the popularity contribution value of a user group for a video clip isgreater than the popularity contribution threshold for the hot clip ofthe user group, it may be determined that the video clip is the hot clipof the user group. That is, for each user group, the server obtains asum of popularity contribution values of the user group for each videoclip of the video content, and determines that a video clip whose sum ofpopularity contribution values is greater than the popularitycontribution threshold is the hot clip of the user group.

For example, according to the conditions in Table 12, if all weightedvalues are 1, the total popularity contribution value of the user Group1 for the video clip performed by TFboys

 = Hot_(A)(−2, 250) + Hot_(C)(20, 250) + Hot_(D)(50, 250) = −2 * K_(A)/250 + 20 * K_(C)/250 + 50 * K_(D)/250 = 0.272;

the total popularity contribution value of the user Group 1 for thevideo clip performed by Jay Chou

=Hot_(A)(−10,300)=−10*KA/300=−0.033;

the total popularity contribution value of the user Group 1 for thevideo clip performed by Song Zuying

=Hot_(B)(−20,280)=−20*K _(B)/280=−0.071;

the total popularity contribution value of the user Group 2 for thevideo clip performed by TFboys

=Hot_(B)(−30,250)=−30*K _(B)/250=−0.12;

the total popularity contribution value of the user Group 2 for thevideo clip performed by Jay Chou

 = Hot_(D)(40, 300) + Hot_(C)(10, 300) + Hot_(D)(35, 300) + Hot_(C)(30, 300) + Hot_(A)(−6, 300) = 40 * K_(D)/300 + 10 * K_(C)/300 + 35 * K_(D)/300 + 30 * K_(C)/300 − 6 * K_(A)/300 = 0.363;

the total popularity contribution value of the user Group 2 for thevideo clip performed by Song Zuying

=Hot_(B)(−30,280)=−30*K _(B)/280=−0.107;

the total popularity contribution value of the user Group 3 for thevideo clip performed by TFboys

=Hot_(A)(−8,250)=−8*K _(A)/250=−0.032;

the total popularity contribution value of the user Group 3 for thevideo clip performed by Jay Chou

=Hot_(B)(−40,300)=−40*K _(B)/300=−0.133; and

the total popularity contribution value of the user Group 3 for thevideo clip performed by Song Zuying

=Hot_(D)(40,280)+Hot_(C)(30,280)=40*K _(D)/280+30*K _(C)/280=0.25.

The total popularity contribution value of the user group 1 for the clipof the TFboys show is 0.272 and the popularity contribution threshold ofthe user group 1 for the hot clip is 0.056, and the popularitycontribution value 0.272 is greater than the popularity contributionthreshold 0.056. Therefore, the clip of the TFboys show is a hot clipbelonging to the user Group 1. In this way, the corresponding hot clipof each user group may be shown in Table 13.

TABLE 13 Hot clip of each user group Operation Popularity Popularityduration (s) contribution contribution Hot clip Start time End time(duration of value for threshold of belonging to Video User point (s)Name of point (s) corresponding corresponding each user each user clipID of operation operation of operation video clip) video clip groupgroup user Group1 TFboys 001 10.11 Fast forward 12.11 −2 (250) 0.2720.056 Hot clip 001 50.23 Rewind 30.23 20 (250) 002 105.45 Backward drag55.45 50 (250) Jay Chou 006 305.46 Fast forward 315.46 −10 (300)  −0.033Song Zuying 013 609.37 Forward drag 629.37 −20 (280)  −0.071 user group2TFboys 004 200.22 Forward drag 230.22 −30 (250)  −0.12 0.045 Jay Chou007 350.54 Backward drag 310.54 40 (300) 0.363 Hot clip 008 410.34Rewind 400.34 10 (300) 007 425.42 Backward drag 390.42 35 (300) 010460.26 Rewind 430.26 30 (300) 011 507.49 Fast forward 513.49 −6 (300)Song Zuying 014 620.32 Forward drag 650.32 −30 (280)  −0.107 user group3TFboys 005 250.31 Fast forward 258.31 −8 (250) −0.032 0.085 Jay Chou 012560.51 Forward drag 600.51 −40 (300)  −0.133 Song Zuying 015 780.53Backward drag 740.53 40 (280) 0.25 Hot clip 016 850.25 Rewind 820.25 30(280)

In step 607, for the hot clip of each user group, the server 2determines that an earliest time point and a latest time point of alltime points of operations performed by the user group on a player whenplaying the hot clip are a tag of the hot clip.

For the hot clip of each user group, the earliest time point in the tagis a time point of a chronologically first operation of operationsperformed by the user group on the hot clip, and the latest time pointis a time point of a chronologically last operation of the operationsperformed by the user group on the hot clip.

Referring to the conditions in Table 13, for example, for the hot clipof the user group 1, the start time point of the operation of the user001 is 10.11 s, which is the earliest time point; the start time pointof the operation of the user 002 is 105.45 s, which is the latest timepoint. Therefore, the tag of the hot clip of the user Group 1 is (10.11s, 105.45 s). For the hot clip of the user Group 2, the end time pointof the operation of the user 007 is 310.54 s, which is the earliest timepoint; the end time point of the operation of the user 011 is 513.49 s,which is the latest time point. Therefore, the tag of the hot clip ofthe user Group 2 is (310.54 s, 513.49 s). For the hot clip of the userGroup 3, the end time point of the operation of the user 015 is 740.53s, which is the earliest time point; the start time point of theoperation of the user 016 is 850.25 s, which is the latest time point.Therefore, the tag of the hot clip of the user Group 3 is (740.53 s,850.25 s).

In step 608, the server 1 receives a tag that is sent by the server 2referring to the hot clip corresponding to each user group, stores thetag, and sends the tag of the hot clip corresponding to each user groupto user equipment of a corresponding user group.

After the server 1 obtains the tag of the hot clip of the video contentwatched by each user group, if a user whose registration information isstored in the server 1 watches the video content, the server 1 may sendthe tag of the hot clip of the video content to the user equipment ofthe corresponding user group watching the video content.

In step 609, the user equipment displays the tag of the hot clip in adisplay part of the video content based on the tag.

In a possible implementation, for each user group, the user equipmentmay mark a dot at the earliest time point of the hot clip of a play timeaxis based on the earliest time point and the latest time point of timepoints of operations performed by the user group on the player, and marka color distinguishable from that of a non-hot clip in a hot clipsection delimited by the earliest time point and the latest time point.For example, as shown in FIG. 7, FIG. 7 shows hot clips that are markedand presented according to Table 13 and that are of the Spring FestivalGala video watched by each user group.

In another possible implementation, for each user group, the userequipment may present the hot clip to the user group in a video displayarea, in a list form, and based on the earliest time point and thelatest time point of time points of operations performed by the usergroup on the player. More than one hot clip may be presented to the sameuser group. Referring to the exemplary embodiment in FIG. 8, FIG. 8 mayshow 3 lists of hot clips according to the example in Table 13,including a list of hot clips presented to the user Group 1, a list ofhot clips presented to the user Group 2, and a list of hot clipspresented to the user Group 3.

In this way, this embodiment can extract and present a personalized hotclip for each user group, and improve accuracy of accessing the hot clipby the user; compared with the prior art in which a same hot clip ispresented to all users, this embodiment can extract and present obscuredhot clips that belong to some user groups.

The foregoing mainly describes the solutions in the embodiments hereinfrom the perspective of interaction between network elements. Toimplement the foregoing functions, each network element such as a serveror user equipment includes corresponding hardware structures and/orsoftware modules that perform functions. A person of ordinary skill inthe art may understand that, in combination with the examples describedin the embodiments, units, algorithms, or steps may be implemented byhardware or a combination of hardware and computer software. Whether afunction is performed by hardware or hardware driven by computersoftware depends on particular applications and design constraints ofthe technical solutions. A person of ordinary skill in the art may usedifferent methods to implement the described functions for eachparticular embodiment, but it should not be considered that theimplementation goes beyond the scope of embodiments herein.

In the embodiments, function modules of the server, the user equipment,or the like may be divided based on the foregoing method examples. Forexample, function modules may be divided corresponding to functions, ortwo or more functions may be integrated into one processing module. Theintegrated module may be implemented in a form of hardware, or may beimplemented in a form of a software functional module. It should benoted that, in this embodiment, module division is exemplary, and ismerely a logical function division. In actual implementation, anotherdivision manner may be used.

Referring now to the exemplary embodiment in FIG. 9, FIG. 9 mayillustrate a possible schematic structural diagram of a server. Functionmodules are divided corresponding to functions, and functions of theserver 1 and the server 2 are integrated into one server. The server 90may include: a classification unit 901, an obtaining unit 902, a sendingunit 903, and a receiving unit 904. The classification unit 901 isconfigured to support the server in performing step 303 in FIG. 3A andFIG. 3B and step 603 in FIG. 6A and FIG. 6B. The obtaining unit 303 isconfigured to support the server in performing steps 304, 305, and 306in FIG. 3A and FIG. 3B and steps 605, 606, and 607 in FIG. 6A and FIG.6B. The sending unit 903 is configured to perform steps 307 and 309 inFIG. 3A and FIG. 3B and step 604 in FIG. 6A and FIG. 6B. The receivingunit 904 is configured to support the server in performing step 302 inFIG. 3A and FIG. 3B and steps 602 and 608 in FIG. 6A and FIG. 6B. Forall related content of the steps in the foregoing method embodiments,refer to function descriptions of corresponding functional modules, anddetails are not described herein again.

When the units are integrated, a possible schematic structural diagramof the server 1 and the server 2 in the foregoing embodiments may beshown in FIG. 2. For example, a data sending module 12 and a historicaldata obtaining module 21 may be configured to support the server 1 inperforming step 302 in FIG. 3A and FIG. 3B and steps 602 and 604 in FIG.6A and FIG. 6B; a user classification module 22 may be configured tosupport the server 2 in performing step 303 in FIG. 3A and FIG. 3B andstep 603 in FIG. 6A and FIG. 6B. A hot clip obtaining module 23 mayperform steps 304 to 306 in FIG. 3A and FIG. 3B and steps 605 and 606 inFIG. 6A and FIG. 6B. A tag extraction module 24 may perform step 307 inFIG. 3A and FIG. 3B and step 607 in FIG. 6A and FIG. 6B. A data sendingmodule 25 may perform step 308 in FIG. 3A and FIG. 3B and step 608 inFIG. 6A and FIG. 6B. A data sending module 12 may perform step 309 inFIG. 3A and FIG. 3B and step 608 in FIG. 6A and FIG. 6B. The server 1and the server 2 may further include a storage module (not shown in FIG.2), and the storage module is configured to store program code and dataof the server 1 and the server 2.

The user classification module 22, the hot clip extraction module 23,and the tag extraction module 24 may be a processor or controller, suchas a central processing unit (CPU), a general-purpose processor, adigital signal processor (DSP), an application-specific integratedcircuit (ASIC), a field programmable gate array (FPGA), or anotherprogrammable logical device, a transistor logical device, a hardwarecomponent, or any combination thereof. The controller/processor mayimplement or execute various example logical blocks, modules, andcircuits described with reference to content disclosed herein.Alternatively, the processor may be a combination of processorsimplementing a computing function, for example, a combination of one ormore microprocessors, or a combination of the DSP and a microprocessor.The historical data obtaining module 21, the data sending optical module25, the data sending module 12, and the data receiving module 11 may bea transceiver, a transceiver circuit, a communications interface, orsimilar device as is known to a person of ordinary skill in the art. Thedata storage module 11 may be a memory unit.

When the user classification module 22, the hot clip extraction module23, and the tag extraction module 24 are processors, the historical dataobtaining module 21, the data sending optical module 25, the datasending module 12, and the data receiving module 11 may be transceivers,and the data storage module 11 may be a memory, if functions of theserver 1 and the server 2 are integrated into one server, the server inthe embodiments may be the server shown in FIG. 10.

Referring to FIG. 10, the server 10 includes a processor 1012, atransceiver 1013, a memory unit 1011, and a bus 1014. The transceiver1013, the processor 1012, and the memory unit 1011 are connected to eachother via the bus 1014, such as a peripheral component interconnect(PCI) bus, or an Extended Industry Standard Architecture (EISA). The bus1014 may be classified into an address bus, a data bus, a control bus,and the like. For ease of representation, only one thick line is used torepresent the bus in FIG. 10, but this does not mean that there is onlyone bus or only one type of bus.

Referring now to the exemplary embodiment in FIG. 11, FIG. 11 is apossible schematic structural diagram of user equipment in the foregoingembodiment. The user equipment 111 includes: a sending unit 1111, areceiving unit 1112, and a display unit 1113. The sending unit 1111 isconfigured to support the user equipment in performing step 301 in FIG.3A and FIG. 3B and step 601 in FIG. 6A and FIG. 6B. The receiving unit1112 is configured to support the user equipment in performing step 309in FIG. 3A and FIG. 3B and step 608 in FIG. 6A and FIG. 6B. The displayunit 1113 is configured to support the user equipment in performing step310 in FIG. 3A and FIG. 3B and step 609 in FIG. 6A and FIG. 6B. For allrelated content of the steps in the foregoing method embodiments, referto function descriptions of corresponding functional modules, anddetails are not described herein again.

Referring now to the exemplary embodiment in FIG. 2, FIG. 2 is apossible schematic structural diagram of the user equipment in theforegoing embodiments. The user equipment 0 includes a datacollection/sending module 01 and a presenting module 02. For example,the data collection/sending module 01 is configured to support the userequipment in performing step 301 in FIG. 3A and FIG. 3B and step 601 inFIG. 6A and FIG. 6B, and the presenting module 02 is configured toperform step 310 in FIG. 3A and FIG. 3B and step 609 in FIG. 6A and FIG.6B. The data collection/sending module 01 is configured to supportcommunication between the user equipment and another network entity,such as communication between the user equipment and a function moduleor network entity shown in FIG. 2, FIG. 3A and FIG. 3B, or FIG. 6A andFIG. 6B. The user equipment 0 may further include a storage module 03and a processing module 04 (not shown). The storage module 03 isconfigured to store program code and data of the user equipment, and theprocessing module 04 is configured to control and manage actions of theuser equipment.

The processing module 04 may be a processor or controller such as a CPU,a general-purpose processor, a DSP, an ASIC, a FPGA, or anotherprogrammable logical device, a transistor logical device, a hardwarecomponent, or any combination thereof. The controller/processor mayimplement or execute various example logical blocks, modules, andcircuits described with reference to content disclosed herein.Alternatively, the processor may be a combination of processorsimplementing a computing function, for example, a combination of one ormore microprocessors, or a combination of the DSP and a microprocessor.The data collection/sending module 01 may be a transceiver, atransceiver circuit, a communications interface, or the like. Thestorage module 03 may be a memory, and the presenting module 02 may be adisplay, a display screen, or the like.

Referring now to the exemplary embodiment in FIG. 12, FIG. 12 mayillustrate a user equipment where the processing module 04 is aprocessor, the data collection/sending module 01 is a transceiver, thestorage module 03 is a memory, and the presenting module is a display.

Referring to FIG. 12, the user equipment 122 includes a processor 1212,a transceiver 1213, a memory 1211, a display 1215, and a bus 1214. Thetransceiver 1213, the processor 1212, the display 1215, and the memory1211 are connected to each other through the bus 1214. The bus 1214 maybe a PCI bus, an EISA bus, or any other contemplated bus, such as isknown to a person of ordinary skill in the art. The bus 1214 may beclassified into an address bus, a data bus, a control bus, and the like.For ease of representation, only one thick line is used to represent thebus in FIG. 12, but this does not mean that there is only one bus oronly one type of bus.

Method or algorithm steps described in combination with the contentdisclosed herein may be implemented by hardware, or may be implementedby a processor by executing a software instruction. The softwareinstruction may include a corresponding software module. The softwaremodule may be stored in a random access memory (RAM), a flash memory, aread-only memory (ROM), an erasable programmable read only memory(Erasable Programmable ROM, EPROM), an electrically erasableprogrammable read only memory (Electrically EPROM, EEPROM), a register,a hard disk, a mobile hard disk, a compact disc read-only memory(CD-ROM), or any other form of storage medium well-known in the art. Forexample, a storage medium is coupled to a processor, so that theprocessor can read information from the storage medium or writeinformation into the storage medium. The storage medium may be acomponent of the processor. The processor and the storage medium may belocated in the ASIC. In addition, the ASIC may be located in a corenetwork interface device. The processor and the storage medium may existin the core network interface device as discrete components.

A person skilled in the art should be aware that in the foregoing one ormore examples, functions described herein may be implemented byhardware, software, firmware, or any combination thereof. When anembodiment is implemented by software, the foregoing functions may bestored in a computer-readable medium or transmitted as one or moreinstructions or code in the computer-readable medium. Thecomputer-readable medium includes a computer storage medium and acommunications medium, where the communications medium includes anymedium that enables a computer program to be transmitted from one placeto another. The storage medium may be any available medium accessible toa general-purpose or dedicated computer.

The objectives, technical solutions, and benefits of embodiments arefurther described in detail in the foregoing exemplary embodiments. Itshould be understood that the foregoing descriptions are merelyexemplary embodiments, but are not intended to limit the protectionscope. Any modification, equivalent replacement, or improvement madewithin the spirit and principle of the present invention shall fallwithin the protection scope of the exemplary embodiments describedherein.

1-20. (canceled)
 21. A system for video extraction comprising a server,a first terminal and a second terminal; wherein the server is configuredto: send video content to the first terminal and the second terminal,respectively, wherein the video content comprises a first hot clip and asecond hot clip; send a first tag of the first hot clip to the firstterminal; and send a second tag of the second hot clip to the secondterminal; wherein the first terminal is configured to: display the firsttag on a play time axis of the video content, wherein the first tag islocated in a first location of the play time axis; and wherein thesecond terminal is configured to: display the second tag on the playtime axis of the video content, wherein the second tag is located in asecond location of the play time axis.
 22. The system of claim 21,wherein the server is further configured to: classify users into aplurality of user groups based on attribute information of the users,wherein a user of the first terminal corresponds to a first user group,and a user of the second terminal corresponds to a second user group;and obtain the first hot clip and the second hot clip based oninformation about operations performed by each of the plurality of usergroups in watching the video content.
 23. The system of claim 22,wherein the server is further configured to: receive the attributeinformation of the users sent by the first terminal and the secondterminal.
 24. The system of claim 22, wherein the operations performedby each of the plurality of user groups comprise a bullet screencomment.
 25. The system of claim 22, wherein the operations performed byeach of the plurality of user groups comprise fast forward, rewind,forward drag, and backward drag.
 26. The system of claim 21, wherein thefirst tag is used to indicate a start time of the first hot clip. 27.The system of claim 21, wherein the second tag is used to indicate astart time of the second hot clip.
 28. A method of video clipextraction, comprising: sending, by a server, video content to a firstterminal and a second terminal, respectively, wherein the video contentcomprises a first hot clip and a second hot clip; sending, by theserver, a first tag of the first hot clip to the first terminal;sending, by the server, a second tag of the second hot clip to thesecond terminal; displaying, by the first terminal, the first tag on aplay time axis of the video content, wherein the first tag is located ina first location of the play time axis; and displaying, by the secondterminal, the second tag on the play time axis of the video content,wherein the second tag is located in a second location of the play timeaxis.
 29. The method of claim 28, further comprising: classifying, bythe server, users into a plurality of user groups based on attributeinformation of the users, wherein a user of the first terminalcorresponds to a first user group, and a user of the second terminalcorresponds to a second user group; and obtaining, by the server, thefirst hot clip and the second hot clip based on information aboutoperations performed by each of the plurality of user groups in watchingthe video content.
 30. The method of claim 29, further comprising:receiving, by the server, the attribute information of the users sent bythe first terminal and the second terminal.
 31. The method of claim 29,wherein the operations performed by each of the plurality of user groupscomprise a bullet screen comment.
 32. The method of claim 29, whereinthe operations performed by each of the plurality of user groupscomprise fast forward, rewind, forward drag, and backward drag.
 33. Themethod of claim 28, wherein the first tag is used to indicate a starttime of the first hot clip.
 34. The method of claim 28, wherein thesecond tag is used to indicate a start time of the second hot clip. 35.A computer program product, the computer program product being embodiedin a non-transitory computer readable medium and comprising computerinstructions for: sending, by a server, video content to a firstterminal and a second terminal, respectively, wherein the video contentcomprises a first hot clip and a second hot clip; sending, by theserver, a first tag of the first hot clip to the first terminal;sending, by the server, a second tag of the second hot clip to thesecond terminal; displaying, by the first terminal, the first tag on aplay time axis of the video content, wherein the first tag is located ina first location of the play time axis; displaying, by the secondterminal, the second tag on the play time axis of the video content,wherein the second tag is located in a second location of the play timeaxis.
 36. The computer program product of claim 35, the computer programproduct further comprises computer instructions for: classifying, by theserver, users into a plurality of user groups based on attributeinformation of the users, wherein a user of the first terminalcorresponds to a first user group, and a user of the second terminalcorresponds to a second user group; and obtaining, by the server, thefirst hot clip and the second hot clip based on information aboutoperations performed by each of the plurality of user groups in watchingthe video content.
 37. The computer program product of claim 36, thecomputer program product further comprises computer instructions for:receiving, by the server, the attribute information of the users sent bythe first terminal and the second terminal.
 38. The computer programproduct of claim 36, wherein the operations performed by each of theplurality of user groups comprise a bullet screen comment.
 39. Thecomputer program product of claim 36, wherein the operations performedby each of the plurality of user groups comprise fast forward, rewind,forward drag, and backward drag.
 40. The computer program product ofclaim 35, wherein the first tag is used to indicate a start time of thefirst hot clip and the second tag is used to indicate a start time ofthe second hot clip.